Remove this unused function. (Patch by Jody Goldberg)
authorMatthias Clasen <maclas@gmx.de>
Mon, 21 Jun 2004 04:10:07 +0000 (04:10 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Mon, 21 Jun 2004 04:10:07 +0000 (04:10 +0000)
Mon Jun 21 00:06:44 2004  Matthias Clasen  <maclas@gmx.de>

* libegg/iconlist/eggiconlist.c (egg_icon_list_item_get_icon_list):
Remove this unused function.  (Patch by Jody Goldberg)

Mon Jun 21 00:05:56 2004  Matthias Clasen  <maclas@gmx.de>

* libegg/iconlist/eggiconlist.c (egg_icon_list_queue_draw_item):
Avoid warnings if items are selected before the icon list is
realized.  (Patch by Jody Goldberg)

Mon Jun 21 00:05:16 2004  Matthias Clasen  <maclas@gmx.de>

* libegg/iconlist/eggiconlist.c (egg_icon_list_button_press):
Fix a small problem in mode GTK_SELECTION_NONE.

Sun Jun 20 23:39:51 2004  Matthias Clasen  <maclas@gmx.de>

* libegg/iconlist/eggiconlist.c: Let ctrl key combinations
move the focus without influencing the selection.

gtk/gtkiconview.c

index 6e650a053b887e83eb5267a2de8dc64b2b208587..08d8837bdcf69164b2b0ca3418a5b4bc415ba93d 100644 (file)
@@ -26,7 +26,8 @@
 #include <gtk/gtkmain.h>
 #include <gtk/gtksignal.h>
 
-#include "eggintl.h"
+#include <glib/gi18n.h>
+
 #include "eggmarshalers.h"
 
 #define MINIMUM_ICON_ITEM_WIDTH 100
@@ -1935,7 +1936,8 @@ egg_icon_list_queue_draw_item (EggIconList     *icon_list,
   rect.width = item->width;
   rect.height = item->height;
 
-  gdk_window_invalidate_rect (icon_list->priv->bin_window, &rect, TRUE);
+  if (icon_list->priv->bin_window)
+    gdk_window_invalidate_rect (icon_list->priv->bin_window, &rect, TRUE);
 }
 
 static gboolean
@@ -2655,14 +2657,6 @@ egg_icon_list_get_items (EggIconList *icon_list)
   return icon_list->priv->items;
 }
 
-EggIconList *
-egg_icon_list_item_get_icon_list (EggIconListItem *item)
-{
-  g_return_val_if_fail (item != NULL, NULL);
-
-  return item->icon_list;
-}
-
 static void
 egg_icon_list_add_move_binding (GtkBindingSet  *binding_set,
                                guint           keyval,